#ifndef WIDGET_H
#define WIDGET_H

#include <QWidget>
#include <QPushButton>
#include <QString>

QT_BEGIN_NAMESPACE
namespace Ui {
class Widget;
}
QT_END_NAMESPACE

class Widget : public QWidget
{
    Q_OBJECT

public:
    Widget(QWidget *parent = nullptr);
    ~Widget();

    QPushButton* button;

public slots:
    void MyClick();
    void MyHandle(QString text);


    // void MyHandle();

signals:
    void MySignal(QString text1, QString text2);

    // void MySignal(QString text);



private:
    Ui::Widget *ui;
};
#endif // WIDGET_H
